package  
{
	import flash.display.MovieClip;
	/**
	 * ...
	 * @author ...
	 */
	public class Nave extends MovieClip
	{
		var vida: int;
		
		public function Nave() 
		{
			vida = 3;
		}
		//paulostore
		public function Update (up:Boolean, right:Boolean, down: Boolean, left:Boolean) : void {
			if (up){ this.y -= 10;}
			else if (down){	this.y += 10;}
			if (left){ this.x -= 10;}
			else if (right){ this.x += 10;}
		}
	}

}